\documentclass[a4wide, 10pt]{report}
\usepackage[parfill]{parskip}    % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{ifpdf}
\usepackage{float}
\ifpdf
\usepackage[pdftex]{graphicx}
\else
\usepackage{graphicx}
\fi
\usepackage{fancyhdr}
\usepackage{appendix}
\usepackage{color}
\usepackage{listings}
\usepackage{epigraph}

% makes links, tableofcontents, cites etc clickable and the color is defined here
\usepackage{hyperref}
\hypersetup{
    colorlinks,
    citecolor=green,
    filecolor=black,
    linkcolor=red,
    urlcolor=cyan
}

\fancyhead{}
\fancyhead[LO,RE]{\leftmark}


\usepackage{url}

%% Define a new 'leo' style for the package that will use a smaller font.
\makeatletter
\def\url@leostyle{%
  \@ifundefined{selectfont}{\def\UrlFont{\sf}}{\def\UrlFont{\small\ttfamily}}}
\makeatother
%% Now actually use the newly defined style.
\urlstyle{leo}


\pagestyle{fancy}


% used to create an Acknowledgment page
\makeatletter
\newcommand\ackname{Acknowledgements}
\if@titlepage
  \newenvironment{acknowledgements}{%
      \titlepage
      \null\vfil
      \@beginparpenalty\@lowpenalty
      \begin{center}%
        \bfseries \ackname
        \@endparpenalty\@M
      \end{center}}%
     {\par\vfil\null\endtitlepage}
\else
  \newenvironment{acknowledgements}{%
      \if@twocolumn
        \section*{\abstractname}%
      \else
        \small
        \begin{center}%
          {\bfseries \ackname\vspace{-.5em}\vspace{\z@}}%
        \end{center}%
        \quotation
      \fi}
      {\if@twocolumn\else\endquotation\fi}
\fi
\makeatother


\setcounter{secnumdepth}{2}

% Title Page
\title {\center{\textit{iSquirrel:} A semantic web, community-driven recommender system.}\\  \textbf{ Final Report }}

\author {Avgoustinos Kadis, Navin Manash, Andreas Markitanis, \\* Andreas Matsikaris, Alexandros Michael}

\begin {document}
\maketitle


% IF YOU NEED MORE PACKAGES PLEASE ADD ON TOP

% CHANGES TO BE MADE FROM HERE ONWARDS 
% DONT FORGET TO CITE WHILE YOU WRITE AND CREATE FOOTNOTES AS SHOWN BELOW


%Abstract - Navin

\begin {abstract}
	\input {abstract.tex}
\end {abstract}



\begin{acknowledgements}
	\input{acknowledgments.tex}
\end{acknowledgements}


% table of contents are generated automatically - 2 denotes that table of contents will list about subsubsections. (1.2.1 for eg)
\pagestyle{empty}
\setcounter{tocdepth}{2} 
\addtocontents{toc}{\protect\thispagestyle{empty}}
\tableofcontents
\setcounter{page}{0}
\clearpage

\pagestyle{fancy}

%CHAPTER 1
\input{introduction.tex}

%--------------------------- BEGIN CHAPTER 2 - BACKGROUND---------------------------

\chapter{Background}
\label{ch2}
% NAVIN - ONE

%\section {Introduction}  --- not needed in the chapters
	\input{introductionch1.tex} 
	
% ALEXIS
\section{The Semantic web}
	\label{sec:semanticweb}
	\input{semanticweb.tex}
	
%NAVIN
\section{Recommender Systems}
	\label{sec:recommendersystems}
	\input{recommendersystems.tex}

%NAVIN -DONE
\section{``My friends like it"}
	\input{myfriendslikeit.tex}

%NAVIN - DONE
\section{Our inspiration}
	\input{ourinspiration.tex}

%NAVIN - DONE
\section{The result}
	\input{theresult.tex} 



%---------------------------END OF CHAPTER 2------------------------------------------------------





%--------------------------- BEGIN CHAPTER 3 - DEVELOPMENT-------------------------------

\chapter{Development}
\label{ch3}
% AVGOUSTINOS
%\section {Introduction} %not needed
	\input{introductionch2.tex}
	
\section{Team Work}
	\input{teamwork.tex}

%AVGOUSTINOS
\section{Planning \& Management}
\label{sec:p_m}
	\input{planningandmanagement.tex} 
	% this will include subsections Goals, Requirements & Extensions, iterations, allocation and anything else suitable from the first report
	
%AVGOUSTINOS
\section{Technologies}
	\input{technologies.tex}
	
%Alexis & Navin
\section {Analysis \& Design}
\label{analysis_design}

%[This section will include mostly diagrams. It will provide a software engineering point view with a UML diagram outlining the system, our database design and the MVC pattern we chose to implement in our solution - PENDING]

	\input{softeng.tex} %NAVIN uncomment when ready - uml class diagrams, use case etc
	
	\input{databasedesign.tex} %NAVIN uncomment when ready - relational schema, er diagram
	
	%\input{designpatterns.tex} 
		

% AVGOUSTINOS & MATSIKARIS & MARKITANIS


%\input{modules_intro.tex}

          \input{profiler.tex} %- DONE

	\section{The Recommender Module}
	\label{sec:rec}
	\input{recommenders.tex}
	
	\input {feedback.tex} % DONE  
	
	\input{community.tex}  % DONE
		

%ALEXIS - DONE

\section {Poppix, the bookmarklet}
\label{sec:bookmarklet}
	\input{bookmarklet.tex}

%ALEXIS - DONE

\label{gui}
\input{gui.tex}


%---------------------------END OF CHAPTER 3---------------------------------------------


%--------------------------- BEGIN CHAPTER 4 -TESTING---------------------------

\chapter{Testing}
\label{ch4}
	\input{testing.tex}


%---------------------------END OF CHAPTER 4---------------------------------------------



%--------------------------- BEGIN CHAPTER 5 - EVALUATION---------------------------


%MARKITANIS - whole chapter
\chapter{Evaluation}
\label{ch5}
	\input{evaluation.tex} 

%---------------------------END OF CHAPTER 5---------------------------------------------



%--------------------------- BEGIN CHAPTER 6 - FUTHER WORK---------------------------


%MATSIKARIS - whole chapter
\input{future_work.tex}	
	% Andrea, think of the sections yourself. and add them here appropriately with the right filess


%---------------------------END OF CHAPTER 6-----------------------------------------------

%--------------------------- BEGIN CHAPTER 7 - CONCLUSIONS --------------------------

\chapter{Conclusions}
\label{ch7}
\input{conclusions.tex}	

%---------


% --------------------------------BEGIN BIBLIOGRAPHY -------------------------------------------

\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{alpha} % alpha or plain. alpha will show something like Peter McBrien's books, plain will show numbers. I think I prefer alpha. 
%	 it's a free world, if anyone, disagrees let me know!

% THESE ARE THE BIBLIOGRAPHY FILES. 
%\bibliography{alexis, avgoustinos, navin, markitanis, matsikaris}  THIS WILL BE UNCOMMENTED EVENTUALLY
\bibliography{alexis,navin,markitanis,avgoustinos}

%EACH ONE OF US SHOULD CREATE
% a yourname.bib file and list all their bibliographies
% THE BIB FILES are referred to as the databases
%Reference can be made to a publication in one of the databases at any time in the text with
%the command \cite{cite_key}

%AN EXAMPLE ENTRY IN A BIB FILE WOULD BE AS FOLLOWS

% For example, if the reference is a book:
% @BOOK{HK,
%AUTHOR={H. Kopka and P. W. Daly},
%TITLE={A Guide to LaTeX},
%PUBLISHER={Addison-Wesley},
%ADDRESS={Reading, MA},
%YEAR=1999.
%}

%where HK is the cite_key and is used as \cite{HK}

% the rest you can figure out yourselves.i.e whether it's a website, article, publication etc...google it! to find its keys, values
	
%--------------------------------------------------------END BIBLIOGRAPHY-------------------------------------------

% BEGIN APPENDICES

\appendixpage
\addappheadtotoc


% BEAR IN MIND THESE FILES WILL INCLUDE SECTIONS/SUBSECTIONS/SUBSUBSECTIONS
%NAVIN
\appendix

\chapter{User comments from using the system}
	\label{usercomments}
	\input{comments.tex}

% MATSIKARIS
\chapter{Dealing with semantic data}
	\input{semanticdata.tex}


%MARKITANIS
\chapter{User Guide}
\label{userguide}
	\input{userguide.tex}


%END APPENDICES
\newpage
\thispagestyle{plain}

\vspace*{\fill}
\begingroup
\centering

\emph{``The Web as I envisaged it, we have not seen it yet. The future is still so much bigger than the past. "} [Sir Tim Berners-Lee]

\endgroup
\vspace*{\fill}

\end{document}

%END OF REPORT
